package com.example.designModel.observe.enhance;


/**
 * 抽象观察着
 */
public abstract class Observe {
    protected String name;
    protected Subject sub;

    public Observe(String name, Subject sub) {
        this.name = name;
        this.sub = sub;
    }
    public abstract void close(String ab);
}
